<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> 
<head>
<title>Metadata Viewer Tool (metainfo.exe)</title>
<link rel="stylesheet" type="text/css" href="../rotor.css">
</head>
<body>		

<h1>Metadata Viewer Tool (metainfo.exe)</h1>

<p>This tool allows the inspection of the metadata of an assembly.&nbsp;It 
accepts an assembly file for input and outputs the metadata section to the 
console.&nbsp; It has similar functionality to CIL Disassembler using the <b>/noil</b>
<b>/meta</b> 
options.</p>

<p>The application file for the metadata viewer tool is named metainfo.exe in 
the Shared Source CLI (SSCLI) when built on Microsoft Windows&reg;.&nbsp; </p>
    <p>
        Usage</p>

<blockquote>

<PRE class="syntax">metainfo [<I>options</I>] <i>filename</i></PRE>
</blockquote>
<table border=1 width="100%">

<TR VALIGN="top" width=100%>
<TH width=25%>Argument</TH>
<TH width=75%>Description</TH>
</TR>

<TR VALIGN="top">
<TD width=25%><i>filename</i></TD>
<TD width=75%>File containing metadata to read.&nbsp; This can include wild 
cards.</TD>
</TR>
</table>

<h4>Options</h4>

<p>Options can be specified using either a dash (-) or a slash (/). </p>

<table border=1 width=100%>

<TR VALIGN="top" width=100%>
<TH width=25%>Option</TH>
<TH width=75%>Description</TH>
</TR>

<TR VALIGN="top">
<TD width=25%><b>-hex</b></TD>
<TD width=75%>Prints additional information in hexadecimal format as well as in words.</TD>
</TR>

<TR VALIGN="top">
<TD width=25%><b>-header</b></TD>
<TD width=75%>Prints metadata header information and sizes.</TD>
</TR>

<TR VALIGN="top">
<TD width=25%><b>-csv</b></TD>
<TD width=75%>Prints the header sizes in comma-separated format.</TD>
</TR>

<TR VALIGN="top">
<TD width=25%><b>-unsat</b></TD>
<TD width=75%>Prints unresolved externals.</TD>
</TR>

<TR VALIGN="top">
<TD width=25%><b>-assem </b> </TD>
<TD width=75%>Prints only the assembly information.</TD>
</TR>

<TR VALIGN="top">
<TD width=25%><b>-schema</b></TD>
<TD width=75%>Prints the metadata schema information.</TD>
</TR>

<TR VALIGN="top">
<TD width=25%><b>-raw</b></TD>
<TD width=75%>Prints the raw metadata tables</TD>
</TR>

<TR VALIGN="top">
<TD width=25%><b>-heaps</b></TD>
<TD width=75%>Prints the raw heaps (only if the <b>-raw </b>option is also used).</TD>
</TR>

<TR VALIGN="top">
<TD width=25%><b>-validate</b></TD>
<TD width=75%>Validates the consistency of the metadata.</TD>
</TR>

<TR VALIGN="top">
<TD width=25%><b>-nologo</b></TD>
<TD width=75%>Does not display the logo.</TD>
</TR>

<TR VALIGN="top">
<TD width=25%><b>-obj <i>objFileName</i></b></TD>
<TD width=75%>Prints the metadata for the specified obj file in the given 
archive (.lib).</TD>
</TR>

<tr>
<TD width=25%><b>-?</b></TD>
<TD width=75%>Displays usage text</TD>
</tr>

</table>

<br>

 
<hr>

<p><i>Copyright (c) 2006 Microsoft Corporation. All rights reserved.</i></p>

 
</body> 
</html>